package com.zerui.manager.web.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
/**
 * @Author wh
 * @create_time 2023-05-31 16:16
 */
@Data
@JsonInclude
public class OperationRecordVO {

	@ApiModelProperty("设备id - 关联设备管理id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long deviceId;

	@ApiModelProperty("名称")
	private String name;

	@ApiModelProperty(value="设备编码")
	private String code;

	@ApiModelProperty(value="所属产品")
	private String type;

	@ApiModelProperty(value="设备位置")
	private String position;

	@ApiModelProperty(value="操作指令 开门 常开 常闭")
	private String opener;

	@ApiModelProperty(value="ip地址")
	private String ip;

	@ApiModelProperty(value="操作人")
	private String createBy;

	@ApiModelProperty("操作时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
	private LocalDateTime createTime;

}
